Typo fixes.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 17 Aug 2002 06:17:45 +0000 (06:17 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 17 Aug 2002 06:17:45 +0000 (06:17 +0000)
gpsbabel/magnav.c

index ee74e31f728047751c8f27e7174a8a5030dd32ec..dc249fe352e6144698dc197b6baeba484dcdec9f 100644 (file)
@@ -124,12 +124,12 @@ data_read(void)
                wpt_tmp->description = strdup(vdata);
                vdata += strlen (vdata) + 1;
                
-               tm.tm_sec = pdb_read16(&rec->crt_sec);
-               tm.tm_min = pdb_read16(&rec->crt_min);
-               tm.tm_hour = pdb_read16(&rec->crt_hour);
-               tm.tm_mday = pdb_read16(&rec->crt_mday);
-               tm.tm_mon = pdb_read16(&rec->crt_mon) - 1;
-               tm.tm_year = pdb_read16(&rec->crt_year) - 1900;
+               tm.tm_sec = pdb_read2(&rec->crt_sec);
+               tm.tm_min = pdb_read2(&rec->crt_min);
+               tm.tm_hour = pdb_read2(&rec->crt_hour);
+               tm.tm_mday = pdb_read2(&rec->crt_mday);
+               tm.tm_mon = pdb_read2(&rec->crt_mon) - 1;
+               tm.tm_year = pdb_read2(&rec->crt_year) - 1900;
                wpt_tmp->creation_time = mktime(&tm); 
 
                waypt_add(wpt_tmp);
@@ -228,7 +228,7 @@ abort();
 }
 
 
-ff_vecs_t cetus_vecs = {
+ff_vecs_t magnav_vec = {
        rd_init,
        wr_init,
        rd_deinit,